package com.hr.vo;

import java.util.List;

public class MenuVO {
    private Integer id;
    private String title;
    private List<MenuVO> children;
    private Boolean checked;
    private Boolean spread;

    public MenuVO() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public List<MenuVO> getChildren() {
        return children;
    }

    public void setChildren(List<MenuVO> children) {
        this.children = children;
    }

    public Boolean isChecked() {
        return checked;
    }

    public void setChecked(Boolean checked) {
        this.checked = checked;
    }

    public Boolean isSpread() {
        return spread;
    }

    public void setSpread(Boolean spread) {
        this.spread = spread;
    }

    @Override
    public String toString() {
        return "MenuVO{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", children=" + children +
                ", checked=" + checked +
                ", spread=" + spread +
                '}';
    }
}
